<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="/layui/css/layui.css">
    <link rel="stylesheet" href="/css/courseCss/courseManagement/addcurriculum.css">
</head>
<body>
<form class="layui-form" action="JavaScript:;"> <!-- 提示：如果你不想用form，你可以换成div等任何一个普通元素 -->
    <div class="layui-form-item">
        <label class="layui-form-label">课程分类：</label>
        <div class="layui-input-inline">
            <input type="text" id="classificationName"  autocomplete="off" class="layui-input">
            <input type="hidden" name="curriculumClassificationid"  autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">课程名称：</label>
        <div class="layui-input-inline">
            <input type="text" name="curriculumName"  autocomplete="off" class="layui-input">
        </div>
    </div>



    <div class="layui-form-item">
        <label class="layui-form-label">课程图片：</label>
        <div class="layui-input-inline">
            <button type="button" class="layui-btn" id="test1">上传图片</button>
            <input type="hidden" name="curriculumPictureurl">
            <img src="" style="width: 70px;height: 70px" id="curriculumPictureurl">
        </div>
    </div>




    <div class="layui-form-item">
        <label class="layui-form-label">课程视频：</label>
        <div class="layui-input-inline">
            <button type="button" class="layui-btn" id="test2">上传视频</button>
            <input type="hidden" name="curriculumUrl">
            <input type="hidden" name="videoDuration">
            <video style="width: 500px;height: 200px" controls id="curriculumUrl"></video>
        </div>
    </div>




    <div class="layui-form-item layui-form-text">
        <label class="layui-form-label">课程介绍：</label>
        <div class="layui-input-inline">

            <textarea placeholder="请输入内容" name="curriculumSynopsis" class="layui-textarea"></textarea>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">课程序号：</label>
        <div class="layui-input-inline">
            <input type="text" name="curriculumSerialNumber" placeholder="请输入" autocomplete="off" class="layui-input">
        </div>
    </div>    <div class="layui-form-item">
        <label class="layui-form-label">关键字：</label>
        <div class="layui-input-inline">
            <input type="text" name="curriculumKeyWord" placeholder="请输入" autocomplete="off" class="layui-input">
        </div>
    </div>    <div class="layui-form-item">
        <label class="layui-form-label">课程售价：</label>
        <div class="layui-input-inline">
            <input type="text" name="curriculumOriginalPrice" placeholder="请输入" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">单选框</label>
        <div class="layui-input-inline">
            <input type="radio" name="curriculumRecommend" value="0" title="新品" checked>
            <input type="radio" name="curriculumRecommend" value="1" title="推荐">
            <input type="radio" name="curriculumRecommend" value="2" title="其它">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <input type="hidden" name="currculumCreatedBy">
            <input type="hidden" name="curriculumUserid">
            <button class="layui-btn" lay-submit lay-filter="*">完成提交课程</button>
        </div>
    </div>
    <!-- 更多表单结构排版请移步文档左侧【页面元素-表单】一项阅览 -->
</form>
<script src="/js/courseJs/courseManagement/jquery-3.6.0.js"></script>
<script src="/layui/layui.js"></script>
<script src="/js/courseJs/courseManagement/addcurriculum.js"></script>
</body>
</html>